package it.yuzuojian.com.dao;

import it.yuzuojian.com.domain.Song;
import it.yuzuojian.com.domain.SongList;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongListMapper {
    public Integer insert(SongList songList);
    public Integer update(SongList songList);
    public Integer delete(Integer id);
    public SongList selectById(Integer id);
    public List<SongList> selectAll();
    public List<SongList> selectByTitle(String title);
    public List<SongList> selectByLikeTitle(String title);
    public List<SongList> selectByStyle(String style);
    public List<SongList> selectByLikeStyle(String style);

}
